package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会长商城产品规格对象 zsyh_agent_partsattribute
 * 
 * @author yuexl
 * @date 2021-12-16
 */
public class ZsyhAgentPartsattribute extends BaseEntity implements Cloneable
{
    private static final long serialVersionUID = 1L;

    private static ZsyhAgentPartsattribute rel = new ZsyhAgentPartsattribute();

    public static ZsyhAgentPartsattribute getInstance(){
        try{
            return (ZsyhAgentPartsattribute) rel.clone();
        }catch (CloneNotSupportedException e){
            e.printStackTrace();
        }
        return new ZsyhAgentPartsattribute();
    }
    /** 产品属性 */
    private String id;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attributeName;

    /** 排序 排序数字越大，排序约靠前 */
    @Excel(name = "排序 排序数字越大，排序约靠前")
    private Long attributeSort;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal attributeSalePrice;

    /** 补助金有效期/质保期单位：月 （安装之后几个月之内可以申请补助金） */
    @Excel(name = "补助金有效期/质保期单位：月 ", readConverterExp = "安=装之后几个月之内可以申请补助金")
    private String attributeWarranty;

    /** 二维码有效期 单位：月（出厂日期几个月内可以扫码安装） */
    @Excel(name = "二维码有效期 单位：月", readConverterExp = "出=厂日期几个月内可以扫码安装")
    private String attributeInstall;

    /** 质保期内损坏 赔付金额 */
    @Excel(name = "质保期内损坏 赔付金额")
    private BigDecimal attributePayPrice;

    /** 配件id */
    @Excel(name = "配件id")
    private String partsId;

    /** 质保期单位：月 产品质保期（安装之后几个月之内享受产品质保） */
    @Excel(name = "质保期单位：月 产品质保期", readConverterExp = "安=装之后几个月之内享受产品质保")
    private String attributeFreeWarranty;

    /** 属性备注 */
    @Excel(name = "属性备注")
    private String attributeRemarks;

    /** 属性logo */
    @Excel(name = "属性logo")
    private String attributeLogo;

    /** 是否包邮 1包邮 （偏远地区补齐差价） 2不包邮 */
    @Excel(name = "是否包邮 1包邮 ", readConverterExp = "偏=远地区补齐差价")
    private String isPost;

    /** 是否上架（1上架0下架） */
    @Excel(name = "是否上架", readConverterExp = "1=上架0下架")
    private String isShow;

    /** 建议零售价 */
    @Excel(name = "建议零售价")
    private String attributeRetailPrice;

    /** 产品优势描述 */
    @Excel(name = "产品优势描述")
    private String attributeAdvantage;

    /** 产品使用说明书 */
    @Excel(name = "产品使用说明书")
    private String attributeInstructions;

    private String attributeStock;

    private String partsUnit;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAttributeName(String attributeName) 
    {
        this.attributeName = attributeName;
    }

    public String getAttributeName() 
    {
        return attributeName;
    }
    public void setAttributeSort(Long attributeSort) 
    {
        this.attributeSort = attributeSort;
    }

    public Long getAttributeSort() 
    {
        return attributeSort;
    }
    public void setAttributeSalePrice(BigDecimal attributeSalePrice) 
    {
        this.attributeSalePrice = attributeSalePrice;
    }

    public BigDecimal getAttributeSalePrice() 
    {
        return attributeSalePrice;
    }
    public void setAttributeWarranty(String attributeWarranty) 
    {
        this.attributeWarranty = attributeWarranty;
    }

    public String getAttributeWarranty() 
    {
        return attributeWarranty;
    }
    public void setAttributeInstall(String attributeInstall) 
    {
        this.attributeInstall = attributeInstall;
    }

    public String getAttributeInstall() 
    {
        return attributeInstall;
    }
    public void setAttributePayPrice(BigDecimal attributePayPrice) 
    {
        this.attributePayPrice = attributePayPrice;
    }

    public BigDecimal getAttributePayPrice() 
    {
        return attributePayPrice;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeFreeWarranty(String attributeFreeWarranty) 
    {
        this.attributeFreeWarranty = attributeFreeWarranty;
    }

    public String getAttributeFreeWarranty() 
    {
        return attributeFreeWarranty;
    }
    public void setAttributeRemarks(String attributeRemarks) 
    {
        this.attributeRemarks = attributeRemarks;
    }

    public String getAttributeRemarks() 
    {
        return attributeRemarks;
    }
    public void setAttributeLogo(String attributeLogo) 
    {
        this.attributeLogo = attributeLogo;
    }

    public String getAttributeLogo() 
    {
        return attributeLogo;
    }
    public void setIsPost(String isPost) 
    {
        this.isPost = isPost;
    }

    public String getIsPost() 
    {
        return isPost;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setAttributeRetailPrice(String attributeRetailPrice) 
    {
        this.attributeRetailPrice = attributeRetailPrice;
    }

    public String getAttributeRetailPrice() 
    {
        return attributeRetailPrice;
    }
    public void setAttributeAdvantage(String attributeAdvantage) 
    {
        this.attributeAdvantage = attributeAdvantage;
    }

    public String getAttributeAdvantage() 
    {
        return attributeAdvantage;
    }
    public void setAttributeInstructions(String attributeInstructions) 
    {
        this.attributeInstructions = attributeInstructions;
    }

    public String getAttributeInstructions() 
    {
        return attributeInstructions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributeName", getAttributeName())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("attributeSort", getAttributeSort())
            .append("attributeSalePrice", getAttributeSalePrice())
            .append("attributeWarranty", getAttributeWarranty())
            .append("attributeInstall", getAttributeInstall())
            .append("attributePayPrice", getAttributePayPrice())
            .append("partsId", getPartsId())
            .append("attributeFreeWarranty", getAttributeFreeWarranty())
            .append("attributeRemarks", getAttributeRemarks())
            .append("attributeLogo", getAttributeLogo())
            .append("isPost", getIsPost())
            .append("isShow", getIsShow())
            .append("attributeRetailPrice", getAttributeRetailPrice())
            .append("attributeAdvantage", getAttributeAdvantage())
            .append("attributeInstructions", getAttributeInstructions())
            .toString();
    }

    public String getAttributeStock() {
        return attributeStock;
    }

    public void setAttributeStock(String attributeStock) {
        this.attributeStock = attributeStock;
    }

    public String getPartsUnit() {
        return partsUnit;
    }

    public void setPartsUnit(String partsUnit) {
        this.partsUnit = partsUnit;
    }
}
